<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';

?>
<div class="page-header">
	<h1><small>Inicio de Sesion</small></h1>
</div>






<title>Login and Registration Form with HTML5 and CSS3</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
        <meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
        <meta name="author" content="Codrops" />
        <link rel="shortcut icon" href="../favicon.ico"> 
        <link rel="stylesheet" type="text/css" href="css/demo.css" />
        <link rel="stylesheet" type="text/css" href="css/style.css" />
		 <link rel="stylesheet" type="text/css" href="css/style1.css" />
		<link rel="stylesheet" type="text/css" href="css/animate-custom.css" />
    </head>
    <body>
       
            <section>				
                <div id="container_demo" >
                    <!-- hidden anchor to stop jump http://www.css3create.com/Astuce-Empecher-le-scroll-avec-l-utilisation-de-target#wrap4  -->
                    <a class="hiddenanchor" id="toregister"></a>
                    <a class="hiddenanchor" id="tologin"></a>
                    <div id="wrapper">
                        <div id="login" class="animate form">
											  <?php $form=$this->beginWidget('CActiveForm', array(
        'id'=>'login-form',
        'enableClientValidation'=>true,
        'clientOptions'=>array(
            'validateOnSubmit'=>true,
        ),
    )); ?>
                            <form autocomplete="on"> 
						
                                <h1>Log in</h1> 
                                <p> 
								
								
								<?php //echo $form->labelEx($model,'username'); ?>
		                      <?php echo $form->textField($model,'Usuario',array('placeholder'=>'USUARIO')); ?>
		                     <?php echo $form->error($model,'Usuario'); ?>
								
                             
                                </p>
                                <p> 
            <?php //echo $form->labelEx($model,'password'); ?>
            <?php echo $form->passwordField($model,'contrasena',array('placeholder'=>'CONTRASENA')); ?>
            <?php echo $form->error($model,'contrasena'); ?>
                                </p>
                                <p class="keeplogin"> 
								<?php echo $form->checkBox($model,'rememberMe'); ?>
            <?php echo $form->label($model,'rememberMe'); ?>
            <?php echo $form->error($model,'rememberMe'); ?>
								</p>
                                <p class="login button"> 
                                    <?php echo CHtml::submitButton('Login',array('class'=>'btn btn btn-primary')); ?>
								</p>
                                
								
                            </form>
							  <?php $this->endWidget(); ?>
                        </div>

 

